package com.ruiyi.adrobot.domain;

/**
 * Created by tao.zeng on 2017/5/12.
 */
public class DeviceInfoPackage {
    private String imei; // 安卓设备唯一标识
    private String brand; // 品牌
    private String model; // 手机型号
    private String displayId; // 屏幕型号
    private String versionAndroid; // 安卓版本
    private String board; // 主板型号
    private Integer osApi;
    private String resolution; // 分辨率
    private Integer dpi;
    private String openId; // 安卓id
    private VpnInfo vpnInfo;

    public String getImei() {
        return imei;
    }

    public void setImei(String imei) {
        this.imei = imei;
    }

    public String getBrand() {
        return brand;
    }

    public void setBrand(String brand) {
        this.brand = brand;
    }

    public String getModel() {
        return model;
    }

    public void setModel(String model) {
        this.model = model;
    }

    public String getDisplayId() {
        return displayId;
    }

    public void setDisplayId(String displayId) {
        this.displayId = displayId;
    }

    public String getVersionAndroid() {
        return versionAndroid;
    }

    public void setVersionAndroid(String versionAndroid) {
        this.versionAndroid = versionAndroid;
    }

    public String getBoard() {
        return board;
    }

    public void setBoard(String board) {
        this.board = board;
    }

    public Integer getOsApi() {
        return osApi;
    }

    public void setOsApi(Integer osApi) {
        this.osApi = osApi;
    }

    public String getResolution() {
        return resolution;
    }

    public void setResolution(String resolution) {
        this.resolution = resolution;
    }

    public Integer getDpi() {
        return dpi;
    }

    public void setDpi(Integer dpi) {
        this.dpi = dpi;
    }

    public String getOpenId() {
        return openId;
    }

    public void setOpenId(String openId) {
        this.openId = openId;
    }

    public VpnInfo getVpnInfo() {
        return vpnInfo;
    }

    public void setVpnInfo(VpnInfo vpnInfo) {
        this.vpnInfo = vpnInfo;
    }

    public static class VpnInfo {
        private String vpnIp;
        private String userName;
        private String pwd;
        private Integer provinceId; // 省份ID
        private Integer cityId; // 城市ID

        public VpnInfo() {
        }

        public VpnInfo(String vpnIp, String userName, String pwd, Integer provinceId, Integer cityId) {
            this.vpnIp = vpnIp;
            this.userName = userName;
            this.pwd = pwd;
            this.provinceId = provinceId;
            this.cityId = cityId;
        }

        public String getVpnIp() {
            return vpnIp;
        }

        public void setVpnIp(String vpnIp) {
            this.vpnIp = vpnIp;
        }

        public String getUserName() {
            return userName;
        }

        public void setUserName(String userName) {
            this.userName = userName;
        }

        public String getPwd() {
            return pwd;
        }

        public void setPwd(String pwd) {
            this.pwd = pwd;
        }

        public Integer getProvinceId() {
            return provinceId;
        }

        public void setProvinceId(Integer provinceId) {
            this.provinceId = provinceId;
        }

        public Integer getCityId() {
            return cityId;
        }

        public void setCityId(Integer cityId) {
            this.cityId = cityId;
        }
    }

}
